package com.waidi.clothespad.common;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ll on 2018-08-30.
 */

public class ChangXianProductNum implements Parcelable {

    public String orderFinishedNum ; //订单完成
    public String orderDefectNum; //订单缺陷
    public String dayFinishedNum; //今日完成件数
    public String dayDefectNum; //今日缺陷数目

    // 天顺数据




    public ChangXianProductNum()
    {
        orderFinishedNum = null;
        orderDefectNum = null;
        dayFinishedNum = null;
        dayDefectNum =null;

    }
    public  ChangXianProductNum(Parcel in)
    {
        //顺序要和writeToParcel写的顺序一样
        orderFinishedNum = in.readString();
        orderDefectNum =in.readString();
        dayFinishedNum = in.readString();
        dayDefectNum = in.readString();

    }
    @Override
    public int describeContents() {
        // TODO Auto-generated method stub
        return 0;
    }
    @Override
    public void writeToParcel(Parcel dest, int flags)
    {
        dest.writeString(orderFinishedNum);
        dest.writeString(orderDefectNum);
        dest.writeString(dayFinishedNum);
        dest.writeString(dayDefectNum);
    }

    public static final Parcelable.Creator<ChangXianProductNum> CREATOR = new Parcelable.Creator<ChangXianProductNum>() {
        public ChangXianProductNum createFromParcel(Parcel in)
        {
            return new ChangXianProductNum(in);
        }

        public ChangXianProductNum[] newArray(int size) {
            return new ChangXianProductNum[size];
        }
    };

}
